<script setup>



</script>

<template>
  <!--    <h1>视频播放</h1>-->
  <!--  <img src="/src/assets/bg.png">-->

  <div class="bg">
    <div class="e-card playing">
      <div class="image"></div>

      <div class="wave"></div>
      <div class="wave"></div>
      <div class="wave"></div>

      <br>
      UI / EX Designer
      <br>

      <div class="infotop">

        <img :width="130" src="/qrcode.png">


        <div class="name">请在微信扫码二维码</div>
      </div>
    </div>
  </div>

  <!--    <video-->
  <!--        class="bi-video"-->
  <!--        src="https://media.w3.org/2010/05/sintel/trailer.mp4"-->
  <!--        autoplay-->
  <!--        muted-->
  <!--        loop-->
  <!--    >-->
  <!--    </video>-->

</template>

<style>

.bg {
  width: 100%;
  height: 100%;
  background: url("/bg.png");
  background-size: cover;
  z-index: -1;
  position: absolute;

}

/* 为视频元素设置样式 */
.bi-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持视频的纵横比并填满容器，多余部分会被裁剪 */
}

.e-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: white;
  box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
  width: 240px;
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(744deg, #af40ff, #5b42f3 60%, #00ddeb);
}

.icon {
  width: 3em;
  margin-top: -1em;
  padding-bottom: 1em;
}

.infotop {
  text-align: center;
  font-size: 20px;
  position: absolute;
  top: 5.6em;
  left: 0;
  right: 0;
  color: rgb(255, 255, 255);
  font-weight: 600;
}

.name {
  font-size: 14px;
  font-weight: 100;
  position: relative;
  top: 1em;
  text-transform: lowercase;
}

.wave:nth-child(2),
.wave:nth-child(3) {
  top: 210px;
}

.playing .wave {
  border-radius: 40%;
  animation: wave 3000ms infinite linear;
}

.wave {
  border-radius: 40%;
  animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
  animation-duration: 4000ms;
}

.wave:nth-child(2) {
  animation-duration: 50s;
}

.playing .wave:nth-child(3) {
  animation-duration: 5000ms;
}

.wave:nth-child(3) {
  animation-duration: 45s;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

</style>
